QT       += xml sql network


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = MapTool

TEMPLATE = app

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
        main.cpp

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../log/release/ -llog
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../log/debug/ -llog
else:unix: LIBS += -L$$OUT_PWD/../log/ -llog

INCLUDEPATH += $$PWD/../log
DEPENDPATH += $$PWD/../log

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../view/release/ -lview
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../view/debug/ -lview
else:unix: LIBS += -L$$OUT_PWD/../view/ -lview

INCLUDEPATH += $$PWD/../view
DEPENDPATH += $$PWD/../view

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../dataspecification/release/ -ldataspecification
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../dataspecification/debug/ -ldataspecification
else:unix: LIBS += -L$$OUT_PWD/../dataspecification/ -ldataspecification
INCLUDEPATH += $$PWD/../dataspecification
DEPENDPATH += $$PWD/../dataspecification

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Crypto/release/ -lCrypto
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Crypto/debug/ -lCrypto
else:unix: LIBS += -L$$OUT_PWD/../Crypto/ -lCrypto

INCLUDEPATH += $$PWD/../Crypto
DEPENDPATH += $$PWD/../Crypto

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../csv/release/ -lcsv
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../csv/debug/ -lcsv
else:unix: LIBS += -L$$OUT_PWD/../csv/ -lcsv

INCLUDEPATH += $$PWD/../csv
DEPENDPATH += $$PWD/../csv
